// 求租
export default [
  {
    name: 'detail',
    path: '/detail',
    meta: {
      title: '详情'
    },
    component: resolve => { require(['@/views/rent/detail'], resolve) }
  },
  {
    name: 'search',
    path: '/search',
    meta: {
      title: '搜索'
    },
    component: resolve => { require(['@/views/rent/search'], resolve) }
  },
  {
    name: 'rentList',
    path: '/rentList',
    meta: {
      title: '个人房源'
    },
    component: resolve => { require(['@/views/rent/rentList'], resolve) }
  },
  {
    name: 'infoConfirm',
    path: '/infoConfirm',
    meta: {
      title: '信息确认',
      identityValidate: true,
      loginRequire: true
    },
    component: resolve => { require(['@/views/rent/infoConfirm'], resolve) }
  },
  // {
  //   name: 'schedule',
  //   path: '/schedule',
  //   meta: {
  //     title: '看房日程'
  //   },
  //   component: resolve => { require(['@/views/rent/schedule'], resolve) }
  // },
  {
    name: 'ZKorderDetail',
    path: '/ZKorderDetail',
    meta: {
      title: '房租订单',
      loginRequire: true
    },
    component: resolve => { require(['@/views/rent/orderDetail'], resolve) }
  },
  {
    name: 'dealDone',
    path: '/dealDone',
    meta: {
      title: '交易详情',
      loginRequire: true
    },
    component: resolve => { require(['@/views/rent/dealDone'], resolve) }
  },
  {
    name: 'houseMap',
    path: '/houseMap',
    meta: {
      title: '地图'
    },
    component: resolve => { require(['@/views/rent/houseMap'], resolve) }
  },
  {
    name: 'signInfo',
    path: '/signInfo',
    meta: {
      title: '签约信息',
      identityValidate: true,
      loginRequire: true
    },
    component: resolve => { require(['@/views/rent/signInfo'], resolve) }
  },
  {
    name: 'leaseConfirm',
    path: '/leaseConfirm',
    meta: {
      title: '租约确认',
      identityValidate: true,
      loginRequire: true
    },
    component: resolve => { require(['@/views/rent/leaseConfirm'], resolve) }
  },
  {
    name: 'leaseInfoConfirm',
    path: '/leaseInfoConfirm',
    meta: {
      title: '租约信息确认',
      identityValidate: true,
      loginRequire: true
    },
    component: resolve => { require(['@/views/rent/leaseInfoConfirm'], resolve) }
  },
  {
    name: 'communityDetail',
    path: '/communityDetail',
    meta: {
      title: '小区详情'
    },
    component: resolve => { require(['@/views/rent/communityDetail'], resolve) }
  },
  {
    name: 'generateContract',
    path: '/generateContract',
    meta: {
      title: '生成合同'
    },
    component: resolve => { require(['@/views/rent/generateContract'], resolve) }
  }
]
